package com.motu.vertx.module.utility.toolset;

public class ErrorWordValue {
	public static final int SUCCESS = 0;//成功
	public static final int PROTOCOL_PARSE_FAILED = 1;//"协议解析失败！";
	public static final int MYSQL_CONNECT_FAILED = 2;//"数据库连接失败！";
	public static final int MYSQL_QUERY_FAILED = 3;//"数据库查询失败！";
	public static final int MYSQL_INSERT_FAILED = 4;//"数据库插入失败！";
	public static final int MYSQL_UPDATE_FAILED = 5;//"数据库更新失败！";
	public static final int REDIS_QUERY_FAILED = 6;//"缓存查询失败！";
	public static final int TOKEN_WRONG = 7;//token无效
	public static final int TOKEN_EXPIRED = 8;//token过期
	public static final int STILL_IN_CDTIME = 9;//cd时间未到
	public static final int DIAMOND_LACK = 10;//元宝不足
	public static final int GOLD_LACK = 11;//金币不足
	public static final int FORAGE_LACK = 12;//粮草不足
	public static final int SOLDIER_LACK = 13;//士兵不足
	public static final int BAD_PARAM = 14;//参数错误
	public static final int VIP_LACK = 15;//VIP不足
	public static final int EXP_LACK = 16;//经验不足
	public static final int LEVEL_LACK = 17;//等级不足
	public static final int INVALID_OPERATION = 18;//无效的操作
	public static final int WRONG_STATUS = 19;//错误的状态
	public static final int ALREADY_MAX = 20;//已达到满值
	public static final int ITEM_LACK = 21;//道具不足
	public static final int ITEM_NOT_EXIST = 22;//物品不存在
	public static final int REPEATED_OPERATION = 23;//重复的操作
	public static final int BAD_WORD = 24;//文字中含有屏蔽字
	public static final int ENTITY_NOT_EXIST = 25;//对象实例不存在
	public static final int MYSELF = 26;//对象不能为自己
	public static final int TIMES_LACK = 27;//次数不足
	public static final int NAME_USED = 28;//名字已经被使用了
	public static final int CHAR_NOT_ALLOW = 29;//文字中含有非法字符
	public static final int WORD_LENGTH_WRONG = 30;//文字长度不符合要求
	public static final int CHAT_BANNED = 31;//已被禁言
	public static final int BANNED_ACCOUNT = 32;//已被封号
	public static final int ILLEGAL_DBID = 33;//无效的对象id,对象不是我的
	public static final int PERMISSION_DENIED = 34;//权限不足
	public static final int NOT_FAMILY_MEMBER = 35;//未加入联盟
	public static final int MODULE_LOCKED = 36;//模块未解锁
	public static final int MYSQL_QUERY_EMPTY = 37;//"数据库查询为空！";
	public static final int REDIS_QUERY_EMPTY = 38;//"redis查询为空！";
	public static final int SCSPEED_LACK = 39;//营收速度不满足
	public static final int NOT_DATA = 40;//获取不到配置数据

	public static final int NOT_DATA_1 = 41;//获取不到配置数据1
	public static final int NOT_DATA_2 = 42;//获取不到配置数据2
	public static final int NOT_DATA_3 = 43;//获取不到配置数据3
	public static final int NOT_DATA_4 = 44;//获取不到配置数据4
	public static final int NOT_DATA_5 = 45;//获取不到配置数据5
	public static final int NOT_DATA_6 = 46;//获取不到配置数据6
	public static final int NOT_DATA_7 = 47;//获取不到配置数据7
	public static final int NOT_DATA_8 = 48;//获取不到配置数据8
	public static final int NOT_DATA_9 = 49;//获取不到配置数据9
	public static final int NOT_DATA_10= 50;//获取不到配置数据10


	public static final int LOCK_TIMEOUT = 98;//获取锁超时
	public static final int NET_ERROR_TIMEOUT = 99;//游戏服处理超时未返回
	public static final int SERVER_MAINTAIN = 100;//游戏服在维护中
	//	public static final byte NET_ERROR_TIMEOUT = 99;//游戏服处理超时未返回
	public static final int NET_ERROR_LOGINSERVER_EXCEPTIION = 101;//登录服异常
	public static final int NET_ERROR_GATESERVER_EXCEPTIION = 102;//网关服异常
	public static final int LOGIN_REPLAC = 103;//账号在其他地方登录
	public static final int BANNED_DEVICE = 104;//设备被封号
	public static final int ACCOUNT_NOT_EXIST = 105;//帐号不存在
	public static final int PASSWORD_WRONG = 106;//密码错
	public static final int FREQUENTLY_OPEARTE = 124;//操作太频繁了
	public static final int PROTOCOL_UNDEFINE = 125;//未定义的协议
	public static final int LOGIC_INVOKE_EXCEPTION = 126;//未定义的接口
	public static final int LOGIC_EXCEPTION = 127;//逻辑服异常

}
	
	

